import 'package:flutter/material.dart';

class ScrollCase extends StatelessWidget {
  const ScrollCase({super.key});

  @override
  Widget build(BuildContext context) {
    return SingleChildScrollView(
        scrollDirection: Axis.horizontal,
        child: Row(
          children: [1, 2, 3, 4, 5, 6, 7, 8].map((int item) {
            return Container(
                height: 90,
                margin: const EdgeInsets.symmetric(vertical: 20),
                color: Colors.blue,
                width: 200,
                child: Text(item.toString()));
          }).toList(),
        ));
  }
}
